package com.hezhiqin.serviceclient.client;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient(name = "service-provider",path = "echo")
public interface EchoServiceClient {

    @GetMapping("/{msg}")
    public  String echo(@PathVariable String msg);
}
